package com.ellecity06.debugtools.utils

import java.text.SimpleDateFormat
import java.util.*

/**
 * @author zavier
 * @time 2023/4/20 11:35
 * @des 时间工具类
 */
internal class TimeUtils {
    companion object {
        fun getDate(pattern: String, millis: Long): String {
            val format = SimpleDateFormat(pattern)
            return format.format(Date(millis))
        }
    }

}
